import fetch from 'utils/fetch'

export default { // 招商
  dict_company (params) { // 字典数据-快递公司
    return fetch({
      url: '/dict/getByDictType',
      params: {
        dictType: 1000
      }
    })
  },
  send_list (params) { // 物流列表
    return fetch({
      url: '/logistics/user/queryOrderList',
      params
    })
  },
  send_edit (data, options) { // 新增编辑招商计划
    return fetch({
      url: '/logistics/user/bindLogisticsNo',
      method: 'post',
      data,
      options
    })
  },
  send_show (params) { // 查看物流详情
    return fetch({
      url: '/logistics/user/queryDetails',
      params
    })
  }
}
